<{include file="public/header.tpl"}>

<div id="page-wrapper">
    <{ include file="public/title.tpl" }>
    <form  method="post" action="<{$url}>/insert">

			<ul class="list-group">
				<li class="list-group-item">
					<span class="label label-info">上级栏目</span>
						<{ $select }>	
						<label for="jz"><input id="jz" type="checkbox" name="jz" <{$jz}> value="1"> 记住选项</label>
				</li>
				<li class="list-group-item">
					<span class="label label-info">栏目标题<span class="red_font">*</span></span>
					<input type="text" class="form-control" name="title" size="20" value="<{ $post.title }>">
				</li>
				<li class="list-group-item">
					<span class="label label-info">栏目描述</span>
					<textarea class="form-control" name="description" cols="30" rows="5"><{ $post.description }>
					</textarea>
				</li>
				<li class="list-group-item">
						<span class="label label-info">栏目图片</span>
						<input type="hidden" id="picId" name="picid" value="">
						<img  style="cursor:pointer;"  onclick="showWin('<{$app}>/image/open')"  src="<{$public}>/images/no_image.gif" alt="图片预览" width=100 height="100" id="pic">		
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button"  class="button"  onclick="showWin('<{$app}>/image/open')" value="浏览...">	
				</li>
				<li class="list-group-item">
					<span class="label label-info">是否审核</span>
					<input type="radio"  name="audit" <{if $post.audit eq 1}>checked<{/if}>  value="1"> 需要
					<input type="radio"  name="audit" <{if $post.audit eq 0}>checked<{/if}> value="0"> 没必要
				</li>	
				<li class="list-group-item">
				    <button type="submit" class="btn btn-primary">添 加</button>
				    &nbsp;&nbsp;
				    <button type="reset" class="btn btn-primary">重 置</button>
				</li>
			</ul>	
		
    </form>	
</div>


<{include file="public/footer.tpl"}>	


